package com.baidu.user.dao;

import com.baidu.user.entity.User;
import com.baidu.user.entity.UserBasicInfo;
import com.baidu.user.entity.UserCustom;

import java.math.BigDecimal;
import java.util.List;

public interface UserMapper {
	int deleteByPrimaryKey(BigDecimal id);

	int insert(User record);

	int insertSelective(User record);

	User selectByPrimaryKey(BigDecimal id);

	int updateByPrimaryKeySelective(User record);

	int updateByPrimaryKey(User record);

	User login(User user);

	UserCustom findById(BigDecimal id);

	List<Object> getFirstTeachers();

	List<Object> getSecondTree();

	UserBasicInfo findBasicUserById(BigDecimal id);
}